#include <iostream>
#include <stdio.h>
#include <unistd.h>
#include <signal.h>
#include <sys/types.h>
#include <string>

int main(int argc,char* argv[])
{
    if(argc != 3)
    {
        std::cerr << "Usage:" << argv[0] << " -signum pid" << std::endl;
        return 1;
    }
    int signum = std::stoi(argv[1] + 1);
    pid_t pid = std::stoi(argv[2]);
    kill(pid,signum);
    return 0;
}